package com.ryskoo.catering.ordermain.repository;

public class OrderMessage {
    /**
     * 商户uuid
     */
    private String vendorUuid;

    /**
     * 下单时间
     */
    private String orderTime;

    /**
     * 订单金额
     */
    private double amount;

    /**
     * 就餐人数
     */
    private int people;

    /**
     * 金额变动类型 1 下单  0 取消
     */
    private int type;

    public OrderMessage() {

    }

    public OrderMessage(String vendorUuid, String orderTime, double amount, int people, int type) {
        this.vendorUuid = vendorUuid;
        this.orderTime = orderTime;
        this.amount = amount;
        this.people = people;
        this.type = type;
    }

    public String getVendorUuid() {
        return vendorUuid;
    }

    public void setVendorUuid(String vendorUuid) {
        this.vendorUuid = vendorUuid;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public int getPeople() {
        return people;
    }

    public void setPeople(int people) {
        this.people = people;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return "OrderMessage{" +
                "vendorUuid='" + vendorUuid + '\'' +
                ", amount='" + amount + '\'' +
                ", people=" + people +
                ", type='" + type + '\'' +
                '}';
    }
}
